package com.xnyzc.lhy.finance.entity.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 银行信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaDBank对象", description = "OaDBank对象")
public class OaDBank implements Serializable {

    @ApiModelProperty(value = "银行卡ID")
    @TableId(value = "bank_card_id", type = IdType.INPUT)
    private Long bankCardId;

    @ApiModelProperty(value = "银行简写")
    private String bank;

    @ApiModelProperty(value = "银行头像")
    private Long icon;

    @ApiModelProperty(value = "未知")
    private String value;

    @ApiModelProperty(value = "银行名称")
    private String label;

    @ApiModelProperty(value = "显示顺序")
    private Integer sort;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    public static final String BANK_CARD_ID = "bank_card_id";

    public static final String BANK = "bank";

    public static final String ICON = "icon";

    public static final String VALUE = "value";

    public static final String LABEL = "label";

    public static final String DELETED = "deleted";

    public static final String SORT = "sort";
}
